var $$ = jQuery.noConflict();
(function ($, doc) {
    document.documentElement.style.fontSize = document.documentElement.clientWidth / 6.4 + 'px';
    $.init();
    var orderId = localStorage.getItem('orderId')
    $$('#jd').on('touchend', function () {
        threeApi('jd', orderId)
    })
    $$('#xx').on('touchend', function () {
        threeApi('chsi', orderId)
    })
    $$('#send').on('touchend', function () {
        openPage('/member/success')
    })
    //360
    function threeApi(a, orderId) {
        $$.post('/rong360/collectUser/' + a, {'orderId': orderId}, function (data) {
            console.log(data)
            if (data.success) {
                openPage(data.data.tianji_api_tianjireport_collectuser_response.redirectUrl)
            } else {
                mui.alert(data.msg)
            }
        })
    }
})(mui, document);

